package com.yzjs.wx.response;


import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root(
        name = "xml",
        strict = false
)
public class WxDownloadBillResponse {
    @Element(
            name = "return_code"
    )
    private String returnCode;
    @Element(
            name = "return_msg",
            required = false
    )
    private String returnMsg;
    @Element(
            name = "error_code"
    )
    private String errorCode;

    public WxDownloadBillResponse() {
    }

    public String getReturnCode() {
        return this.returnCode;
    }

    public String getReturnMsg() {
        return this.returnMsg;
    }

    public String getErrorCode() {
        return this.errorCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof WxDownloadBillResponse)) {
            return false;
        } else {
            WxDownloadBillResponse other = (WxDownloadBillResponse)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label47: {
                    Object this$returnCode = this.getReturnCode();
                    Object other$returnCode = other.getReturnCode();
                    if (this$returnCode == null) {
                        if (other$returnCode == null) {
                            break label47;
                        }
                    } else if (this$returnCode.equals(other$returnCode)) {
                        break label47;
                    }

                    return false;
                }

                Object this$returnMsg = this.getReturnMsg();
                Object other$returnMsg = other.getReturnMsg();
                if (this$returnMsg == null) {
                    if (other$returnMsg != null) {
                        return false;
                    }
                } else if (!this$returnMsg.equals(other$returnMsg)) {
                    return false;
                }

                Object this$errorCode = this.getErrorCode();
                Object other$errorCode = other.getErrorCode();
                if (this$errorCode == null) {
                    if (other$errorCode != null) {
                        return false;
                    }
                } else if (!this$errorCode.equals(other$errorCode)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof WxDownloadBillResponse;
    }



    public String toString() {
        return "WxDownloadBillResponse(returnCode=" + this.getReturnCode() + ", returnMsg=" + this.getReturnMsg() + ", errorCode=" + this.getErrorCode() + ")";
    }
}

